CygNet Studio > Using CygNet Studio Tools and Controls > Toggle Switch Tool > Command Prompt

Toggle Switch Tool - Command Prompt

A Toggle Switch can be configured to prompt a user for a confirmation. The prompt is defined by the [CommandPrompt] property, which displays the Customize Prompt dialog box:

Customize Prompt
Customize Prompt
[CommandPrompt] Item Description

Prompt Type

  • No Prompt — no prompt. If this option is enabled, the command will be sent once the switch is clicked or the knob rotation is complete or the slider position change is complete.
  • Prompt for Confirmation — prompts you to confirm that you want to send the command. If you cancel the command is not sent. See Customizing the Prompt below.
  • Prompt for Value — not applicable. The pointer sets the value.

Default Value

Not applicable. The point associated with the switch or knob or slider object sets the position.

Show Command Confirmation Message

A command confirmation message is a pop-up that confirms that inter-service communication was successful. That is, that the command was successfully sent from the DDS to the UIS. It does not mean that the command was successfully sent to the device.

Customizing the Prompt

The Confirm Command pop-up title, caption, text, font and colors can be customized by clicking Customize…. Set the desired text, fonts and colors, then click Preview to test the prompt.

Confirm Command
Command Confirmation Prompt Configuration
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.